from hero import Timo, Jinx

class HeroFactory():
    def creat_hero(self, hero_hp, hero_power, hero_name):
        if hero_name == "timo":
            return Timo(hero_hp, hero_power, hero_name)
        else:
            return Jinx(hero_hp, hero_power, hero_name)
